body {
    font-family: Arial, sans-serif;
    margin: 20px;
    background-color: #f9f9f9;
}

h1 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
}

table {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

thead tr {
    background-color: #007BFF;
    color: #fff;
    font-weight: bold;
    text-align: left;
}

th, td {
    padding: 16px;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: rgba(0, 123, 255, 0.1);
}

tbody tr:nth-child(even) {
    background-color: #f2f2f2;
}

tbody tr:hover {
    background-color: #e9e9e9;
    cursor: pointer;
}

/* Optional: Add a little animation for hover effect */
tbody tr:hover {
    transition: background-color 0.3s ease;
}